package com.xrs.xrseducation.relationship.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 年级与学科学期班次关系表
 * </p>
 *
 * @author jobob
 * @since 2020-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Relationship implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关系表id
     */
    @TableId(value = "relationshipid", type = IdType.AUTO)
    private Integer relationshipid;

    /**
     * 班级id(班级表id)
     */
    private Integer gradeid;

    /**
     * 类型(1001学科,1002学期,1003班次)
     */
    private Integer schooltype;

    /**
     * 关联id(学科学期班次表id)
     */
    private Integer schoolid;

    /**
     * 创建日期
     */
    private String creationtime;


}
